#ifndef WL_POINTER_H
#define WL_POINTER_H
//******************************************************************************
//*this code is protected by the GNU affero GPLv3
//*author:Sylvain BERTRAND <sylvain.bertrand AT gmail dot com>
//*                        <digital.ragnarok AT gmail dot com>
//******************************************************************************
s8 wl_pointer_req(struct client *c,s32 pointer_slot,struct msg *m);
s8 wl_pointer_ev_enter(struct client *c,u32 pointer_id,u32 serial,
                                    u32 surface_id,u32 surface_x,u32 surface_y);
s8 wl_pointer_ev_leave(struct client *c,u32 pointer_id,u32 serial,
                                                                u32 surface_id);
s8 wl_pointer_ev_motion(struct client *c,u32 pointer_id,u32 time,
                                                   u32 surface_x,u32 surface_y);
s8 wl_pointer_ev_button(struct client *c,u32 pointer_id,u32 serial,u32 time,
                                                          u32 button,u32 state);
s8 wl_pointer_ev_axis(struct client *c,u32 pointer_id,u32 time,u32 axis,
                                                                     u32 value);
#endif
